package com.mall.beans;

import java.util.Date;
import java.io.Serializable;

/**
 * 收货地址表(Address)实体类
 *
 * @author 蔡文智
 * @since 2020-12-29 09:49:53
 */
public class Address implements Serializable {
    private static final long serialVersionUID = 439995593246807723L;

    private Integer id;
    /**
     * 用户名
     */
    private String username;
    /**
     * 用户对应Id
     */
    private Integer userId;
    /**
     * 省
     */
    private String province;
    /**
     * 市
     */
    private String city;
    /**
     * 区
     */
    private String area;
    /**
     * 地址详情
     */
    private String addressDetail;
    /**
     * 地区编码
     */
    private String areaCode;
    /**
     * 邮政编码
     */
    private String postalCode;
    /**
     * 电话号码
     */
    private String phone;
    /**
     * 创建时间
     */
    private Date addTime;
    /**
     * 更改时间
     */
    private Date updateTime;
    /**
     * 是否为默认地址(0为否，1为是)
     */
    private Integer isDefault;
    /**
     * 计数列
     */
    private Integer count;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getAddressDetail() {
        return addressDetail;
    }

    public void setAddressDetail(String addressDetail) {
        this.addressDetail = addressDetail;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public String getPostalCode() {
        return postalCode;
    }

    public void setPostalCode(String postalCode) {
        this.postalCode = postalCode;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(Integer isDefault) {
        this.isDefault = isDefault;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }
}